

# 获取当前目录下所有的 .cpp 文件
file(GLOB UNIT_TEST "*.cpp")

add_library(${TEST_SHARED} SHARED ${UNIT_TEST})
# 设置目标的可见性
set_target_properties(${TEST_SHARED} PROPERTIES C_VISIBILITY_PRESET default)
set_target_properties(${TEST_SHARED} PROPERTIES CXX_VISIBILITY_PRESET default)

install(TARGETS ${TEST_SHARED} LIBRARY DESTINATION "${LIB_INSTALL_DIR}")
